package com.mti.monitor.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "健康检查接口", description = "健康检查接口")
@RestController
@CrossOrigin
@RequestMapping("/ping")
public class PingController {

    @ApiOperation(value = "健康检查", notes = "健康检查")
    @GetMapping(value = "/healthCheck")
    public String healthCheck() {
        return "pong";
    }
}

